\(\int x^2 (a x^2+b x^3+c x^4) \, dx\) [1]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 20, antiderivative size = 25 \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {a x^5}{5}+\frac {b x^6}{6}+\frac {c x^7}{7} \]

[Out]

1/5*a*x^5+1/6*b*x^6+1/7*c*x^7

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {14} \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {a x^5}{5}+\frac {b x^6}{6}+\frac {c x^7}{7} \]

[In]

Int[x^2*(a*x^2 + b*x^3 + c*x^4),x]

[Out]

(a*x^5)/5 + (b*x^6)/6 + (c*x^7)/7

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rubi steps \begin{align*} \text {integral}& = \int \left (a x^4+b x^5+c x^6\right ) \, dx \\ & = \frac {a x^5}{5}+\frac {b x^6}{6}+\frac {c x^7}{7} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00 \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {a x^5}{5}+\frac {b x^6}{6}+\frac {c x^7}{7} \]

[In]

Integrate[x^2*(a*x^2 + b*x^3 + c*x^4),x]

[Out]

(a*x^5)/5 + (b*x^6)/6 + (c*x^7)/7

Maple [A] (verified)

Time = 0.05 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.80

method result size
gosper \(\frac {x^{5} \left (30 c \,x^{2}+35 b x +42 a \right )}{210}\) \(20\)
default \(\frac {1}{5} a \,x^{5}+\frac {1}{6} b \,x^{6}+\frac {1}{7} c \,x^{7}\) \(20\)
norman \(\frac {1}{5} a \,x^{5}+\frac {1}{6} b \,x^{6}+\frac {1}{7} c \,x^{7}\) \(20\)
risch \(\frac {1}{5} a \,x^{5}+\frac {1}{6} b \,x^{6}+\frac {1}{7} c \,x^{7}\) \(20\)
parallelrisch \(\frac {1}{5} a \,x^{5}+\frac {1}{6} b \,x^{6}+\frac {1}{7} c \,x^{7}\) \(20\)

[In]

int(x^2*(c*x^4+b*x^3+a*x^2),x,method=_RETURNVERBOSE)

[Out]

1/210*x^5*(30*c*x^2+35*b*x+42*a)

Fricas [A] (verification not implemented)

none

Time = 0.23 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.76 \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {1}{7} \, c x^{7} + \frac {1}{6} \, b x^{6} + \frac {1}{5} \, a x^{5} \]

[In]

integrate(x^2*(c*x^4+b*x^3+a*x^2),x, algorithm="fricas")

[Out]

1/7*c*x^7 + 1/6*b*x^6 + 1/5*a*x^5

Sympy [A] (verification not implemented)

Time = 0.02 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.76 \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {a x^{5}}{5} + \frac {b x^{6}}{6} + \frac {c x^{7}}{7} \]

[In]

integrate(x**2*(c*x**4+b*x**3+a*x**2),x)

[Out]

a*x**5/5 + b*x**6/6 + c*x**7/7

Maxima [A] (verification not implemented)

none

Time = 0.19 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.76 \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {1}{7} \, c x^{7} + \frac {1}{6} \, b x^{6} + \frac {1}{5} \, a x^{5} \]

[In]

integrate(x^2*(c*x^4+b*x^3+a*x^2),x, algorithm="maxima")

[Out]

1/7*c*x^7 + 1/6*b*x^6 + 1/5*a*x^5

Giac [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.76 \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {1}{7} \, c x^{7} + \frac {1}{6} \, b x^{6} + \frac {1}{5} \, a x^{5} \]

[In]

integrate(x^2*(c*x^4+b*x^3+a*x^2),x, algorithm="giac")

[Out]

1/7*c*x^7 + 1/6*b*x^6 + 1/5*a*x^5

Mupad [B] (verification not implemented)

Time = 0.02 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.76 \[ \int x^2 \left (a x^2+b x^3+c x^4\right ) \, dx=\frac {x^5\,\left (30\,c\,x^2+35\,b\,x+42\,a\right )}{210} \]

[In]

int(x^2*(a*x^2 + b*x^3 + c*x^4),x)

[Out]

(x^5*(42*a + 35*b*x + 30*c*x^2))/210